package org.myspringmvc.web.constant;

/**
 * @author 莫磊
 * @date 2025/8/13
 * @description springMVC的系统常量类，所有的常量放入其中
 */
public class SystemConstant {

    public static final String CONTEXT_CONFIG_LOCATION = "contextConfigLocation";

    public static final String PREFIX_CLASSPATH = "classpath:";
    public static final String WEB_APPLICATION_CONTEXT = "webApplicationContext";

    /**
     * HandlerMapping和HandlerAdapter的实现类都在该包下
     */
    public static final String PACKAGE_HANDLER = "org.myspringmvc.web.servlet.mvc.method.annotation";
    public static final String BASE_PACKAGE = "base-package";
    public static final String CLASS_TAG = "class";
    public static final String SUFFIX_CLASS = ".class";

    public static final String PROPERTY_TAG = "property";
    public static final String NAME_ATTRIBUTE = "name";
    public static final String VALUE_ATTRIBUTE = "value";
    public static final String INTERCEPTORS = "interceptors";
    public static final String VIEW_RESOLVER = "viewResolvers";
}
